<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vendas - Consulta Produtos</title>
<script language="javascript" type="text/javascript" src="../../includes/js/jquery-1.4.4.js"></script>
<script language="javascript" type="text/javascript" src="../../javascript/inicial.js"></script>
<script language="javascript" type="text/javascript" src="../../javascript/vendas/popup_produtos_pedido.js"></script>



<link rel="stylesheet" type="text/css" href="../../includes/css/azul.css">

</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<fieldset>
<legend>
<font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
<b>Consulta Produtos</b>
</font>
</legend>

<form action="#" method="post" name="form">
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="middle" height="8">
    </td>
    </tr>

    <tr>
    <td align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Codigo/Descri&ccedil;&atilde;o:</strong> 
    </font>
    &nbsp;
    <input type="text" name="busca"  size="20" title="Pesquise pelo c&oacute;digo de referencia" />
	&nbsp;
    <input type="text" name="filtro"  size="30" title="Pesquise pela descri&ccedil;&atilde;o do produto" />
    <input type="button" value="Pesquisar" onClick="pesquisar_popup_produtos();">
    </td>
    </tr>
    
    <tr>
    <td align="center" valign="middle" height="8">
    </td>
    </tr>
</table>
</form>
</fieldset>

<br />

<fieldset>

<div id="lista" style="overflow:auto; height:280px; width:100%; border: 0px; background: #FFF;" >
<br />
<form action="#" method="post" name="form2">

<table cellpadding="0" cellspacing="0" width="98%">
<tr class="barra_titulo_consultas">
<td width="2%" height="30"></td>
<td width="16%" align="center" valign="middle">
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>C&oacute;digo|Tam|Cor</b>
</font>
</td>
<td width="59%" valign="middle" align="left">
&nbsp;&nbsp;
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>Descri&ccedil;&atilde;o</b>
</font>
</td>
<td width="3%" align="center" valign="middle">
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>Qt</b>
</font>
</td>
<td width="11%" align="left" valign="middle">
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>Estoque</b>
</font>
</td>
<td width="9%" align="center" valign="middle">
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>Pre&ccedil;o</b>
</font>
</td>
</tr>

<!-- START BLOCK : LOOP -->
<tr style="background-color:{cor};" onMouseOver="javascript:this.style.backgroundColor='#dce3e9'" onMouseOut="javascript:this.style.backgroundColor='{cor}'">
	<td valign="middle" height="30">
    <center>
    <input type="checkbox" name="ck{cont}" value="{par_id}" 
    onclick="associa_popup_produtos('{par_id}','{par_iddesc}','{id2}','{nome}','{vlr_uni}','{idret}','{local}','{qtde}');" />
    </center>
    </td>
	<td>
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
	<center>{id}</center>
    </font>
	</td>
	<td align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp;&nbsp; {nome}
    </font>
    </td>
	<td align="center" >
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <b>{qtde}</b>
    </font>
    </td> 
	<td align="left" >
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    {local}
    </font>
    </td> 
	<td align="right" >
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    {vluni} &nbsp;
    </font>
    </td> 
</tr>
<input type="hidden" name="idret" value="{idret}" />
<!-- END BLOCK : LOOP -->
<tr>
<td colspan="6" align="center" height="40" valign="middle">
{pag}
</td>
</tr>

</table>

</form>
</div>
</fieldset>

</body>
</html>
